Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: gitlint installation #616

Merged
merged 1 commit into from
Oct 16, 2024
Merged

Conversation

mmalina
Copy link
Contributor

@mmalina mmalina commented Oct 16, 2024

Latest ubuntu does not allow system wide pip install. It can be overriden with --break-system-packages, but it's better to create a virtual env.

Note: This came up in another repo where we use ubuntu-latest. Here were using an older version of ubuntu, but we it's probably best we switch to ubuntu-latest as well.

Latest ubuntu does not allow system wide pip install.
It can be overriden with `--break-system-packages`,
but it's better to create a virtual env.

Note: This came up in another repo where we use ubuntu-latest.
Here were using an older version of ubuntu, but we it's probably
best we switch to ubuntu-latest as well.

Signed-off-by: Martin Malina <[email protected]>
@mmalina mmalina requested a review from a team as a code owner October 16, 2024 12:26
Copy link
Collaborator

@johnbieren johnbieren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I think the reason we had 20.04 instead of latest was to avoid exactly what happened - a new update to the image which breaks us without us changing anything. It isn't great to be on old images though, so maybe latest is just better and we address issues as they pop up 🤷‍♂️

@mmalina
Copy link
Contributor Author

mmalina commented Oct 16, 2024

Ah, I think the reason we had 20.04 instead of latest was to avoid exactly what happened - a new update to the image which breaks us without us changing anything. It isn't great to be on old images though, so maybe latest is just better and we address issues as they pop up 🤷‍♂️

Yeah, agreed, it's a tradeoff and latest is probably better in this case - it's just CI.

@mmalina mmalina merged commit c19c745 into konflux-ci:development Oct 16, 2024
5 checks passed
@mmalina mmalina deleted the fix-gitlint branch October 16, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants